import { request } from '@/utils/http'
import { downloadFile } from '@/utils/download'

//地市信息
export const getCityList = () => {
  return request({
    url: '/wechat/dept/list',
    method: 'GET'
  })
}

// 获取岗位详情
export const getQuestByid = (id) => {
  return request({
    url: `/wechat/require/${id}`,
    method: 'GET'
  })
}

// 下载报名表
export const downloadRequirementDoc = () => {
  return downloadFile('/download/requirement-doc', '青年实干家计划报名表.docx')
}